home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 30
/
PC Gamer IT CD 30 1-2.iso
/
MOTS
/
GAMEDATA
/
EPISODE
/
JKM_PCG.GOO
/
cog_s1l2_liftgen.cog
< prev
next >
Wrap
Text File
|
1998-02-25
|
865b
|
44 lines
# Jedi Knight Cog Script
#
# S1L2_LiftGen.cog
#
# Simple... just spawn one guy and move him somewhere...
# Modified for S1L2 to activate on switch.
#
# [YB]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved
symbols
thing pos desc=generator_ghost
thing targetThing desc=target_ghost
template enemyTpl desc=enemy_to_generate
surface theSurface
int enemy local
flex done=0 local
message activated
end
# ========================================================================================
code
activated:
if(done) return;
done = 1;
enemy = CreateThing(enemyTpl, pos);
AISetMoveThing(enemy, targetThing);
Return;
end